﻿using System.Web.Mvc;

namespace Azure.Online.Web.Routing {
    public class AzureOnlineUrls : SiteUrlHelper {

        public AzureOnlineUrls(UrlHelper helper)
            : base(helper) {
        }

        public string ApiRoot() {
            return RouteUrl("api.root");
        }

        public string DownloadFile(string id) {
            return RouteUrl("proxy.download", new {id});
        }
    }
}